package cn.stronglink.asset.module.basicdata.assetModel.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import cn.stronglink.asset.model.AssetModel;
import cn.stronglink.asset.terminal.bjc.model.AssetModelVO;

public interface AssetModelMapper {

	public List<AssetModel> queryAssetModel(Pagination page, @Param("params") Map<String, Object> params);

	public void removeAssetModel(@Param("id") Long id);

	public void insertAssetModel(AssetModel assetModel);

	public void updateAssetModel(AssetModel assetModel);

	public List<AssetModel> queryListAll(@Param("params") Map<String, Object> params);

	public Long getModelIdByName(@Param("modelName") String modelName);

	public List<AssetModel> queryListAllS();

	public List<AssetModelVO> downloadModel();

	public int getIsUsedModel(@Param("id") Long id);

	public AssetModel qryById(@Param("id") Long id);

}
